import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:sptapp/config/const.dart';
import 'package:sptapp/widget/common_widget.dart';

class MinSetLanguagePage extends StatefulWidget {
  const MinSetLanguagePage({super.key});

  @override
  State<MinSetLanguagePage> createState() => _MinSetLanguagePageState();
}

class _MinSetLanguagePageState extends State<MinSetLanguagePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: myAppBar(context, 'Set The Language'),
      backgroundColor: defaultBlackBgColor,
      body: Container(
        margin: EdgeInsets.symmetric(horizontal: 40.w,vertical: 40.w),
        decoration: BoxDecoration(

        ),
        child: ListView.builder(itemBuilder: (ctx,index){
          return GestureDetector(
            onTap: (){

            },
            child: Container(
              height: 116.w,
              padding: EdgeInsets.symmetric(horizontal: 40.w),
              decoration: BoxDecoration(
                  color: Color(0xff1e1d20),
                  borderRadius: BorderRadius.circular(16.w),
                border: Border(bottom: BorderSide(color: Color.fromRGBO(255, 255, 255, 0.1),width: 1.w))
              ),
              child: Row(
                children: [
                  Expanded(child: Text('English',style: TextStyle(
                      color: Colors.white,
                      fontWeight: FontWeight.w600,
                      fontSize: 28.sp
                  ),)),
                  SizedBox(width: 24.w,),
                  Image.asset('assets/common/min_set_language_sel.png',width: 48.w,)
                ],
              ),
            ),
          );
        },itemCount: 1,padding: EdgeInsets.zero,),
      ),
    );
  }
}
